package com.dal.constant;

import java.util.regex.Pattern;

/**
 * Created by fxf on 2017/6/21.
 */
public interface Patterns {

    /**
     * 用户名或密码校验规则
     * 6~12位数字或者字母的组合
     */
    Pattern ACCOUNT_OR_PASSWORD = Pattern.compile("^(?=.*\\d)(?=.*[a-z]).{6,11}$");
}
